require_relative 'uncool_product_a'
require_relative 'uncool_product_b'
require_relative 'uncool_product_c'
require_relative 'uncool_product_d'

class UncoolFactory
  @@instance = UncoolFactory.new

  def self.instance
    @@instance
  end

  def create_product_A
    UncoolProductA.new
  end

  def create_product_B
    UncoolProductB.new
  end

  def create_product_C
    UncoolProductC.new
  end

  def create_product_D
    UncoolProductD.new
  end

  private_class_method :new
end